<?php

include_once("JsonRpcClient.php");

try
{
	$client = new JsonRpcClient("http://127.0.0.1:8080/");

	/*	$param = Array();
	 $param[0] = "a";
	 $param[1] = 20;

	 $result = $client->call("add",$param);
	 echo $result;*/
	$param = Array();
	$client->setEncrypt(true);
	$param[0] = 33;
	$param[1] = 20;

	$result = $client->call("add",$param);
	echo $result."<br />";


}
catch(Exception $e)
{
	echo "Exception :".$e->getMessage();
}

?>